leetcode problem 643

visit shbcf.ru